package com.gxa.mapper.resume;


import com.gxa.pojo.Jianli;
import org.apache.ibatis.annotations.Param;

public interface MianShiMapper  {
    /*
  登录查询
   */
    Jianli login(String phone);
    /*
    注册
     */
    int register(@Param(value = "phone") String phone,
                 @Param(value = "password")String password,
                 @Param(value = "name")String name,
                 @Param(value = "sex")int sex,
                 @Param(value = "educated")String educated,
                 @Param(value = "height")String height);
    /*
    修改密码
     */
    int updatePassword(@Param(value = "id") int id,@Param(value = "newPassword")String newPassword);
    /*
    更新简历信息
     */
    void updateJianLi(Jianli jianli);

}
